<template>
  <div class="container">
    <web-view :src="url"></web-view>
  </div>

</template>

<script>
import common from '@/assets/js/mmk_common.js'
export default {
  data () {
    return {
      url: common.is_online ? "https://h5.ameimeika.com/aboutUs/index.html" : "https://h5.ameimeika.com/aboutUs/index.html",
      base_url: common.image_resource
    };
  },
  methods: {
    call_service () {
      wx.showModal({
        title: "", //提示的标题,
        content: "确定拨打客服电话吗？", //提示的内容,
        showCancel: true, //是否显示取消按钮,
        cancelText: "取消", //取消按钮的文字，默认为取消，最多 4 个字符,
        cancelColor: "#000000", //取消按钮的文字颜色,
        confirmText: "确定", //确定按钮的文字，默认为取消，最多 4 个字符,
        confirmColor: "#3CC51F", //确定按钮的文字颜色,
        success: res => {
          if (res.confirm) {
            wx.makePhoneCall({ phoneNumber: "4006711314" });
          } else if (res.cancel) {
          }
        }
      });
    }
  },
  onLoad () {
    wx.setNavigationBarTitle({
      title: "关于我们"
    });
  }
};
</script>


